Run c-unmark-<>-around-region in after-change-functions always.
authorAlan Mackenzie <acm@muc.de>
Sun, 5 May 2024 11:34:14 +0000 (11:34 +0000)
committerAlan Mackenzie <acm@muc.de>
Sun, 5 May 2024 11:34:14 +0000 (11:34 +0000)
commit71491fe6f4a944457cb56f6323983ef431e0c422
treed118e5276b05fae7e549addc194d95f35fb8b838
parent8098ad9679c7f5ea19493bdae18227f7a81b3eb4
Run c-unmark-<>-around-region in after-change-functions always.

This fixes bug#70435.

* lisp/progmodes/cc-engine.el (c-unmark-<>-around-region): Run
its contents in after-change-functions for a deletion, so that
c-new-BEG and c-new-END get set.  Add a new test (> end beg)
in a check for unterminated string handling.
lisp/progmodes/cc-engine.el